<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>测试列表</title>
</head>
<body>
<table border="1">
    <tr>
        <th>编号</th>
        <th>用户名</th>
        <th>密码</th>
        <th>创建时间</th>
        <th>存款</th>

    </tr>
    <tr  th:each="test : ${list}">
        <td th:text="${test.id}">编号</td>
        <td th:text="${test.username}">用户名</td>
        <td th:text="${test.password}">密码</td>
        <td th:text="${test.createDate}">创建时间</td>
        <td th:text="${test.balance}">存款</td>

    </tr>
</table>
</body>
</html>